<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  <title>老侯代读</title>
  <meta name="description" content="" /> 
  <meta name="keywords" content="" />
  <link rel="stylesheet" href="/css/style.css">
</head>
<body>
<div class="container">
  <div class="part-title">
    <h3><span>我已读过的书</span></h3>
  </div>
  <div class="up-read-box">
    <ul class="up-read-items">
    @if(count($entBookViewLog)>0)
      @foreach($entBookViewLog as $data)
          <li>
            <a href="/bookdetail/{{$data->BookID}}.html"><img class="book-pho" src="{{$data->FilePath1}}" alt="{{$data->BookTitle}}"></a>
            <div class="book-info">
              <div class="book-name-box">
                <h3 class="book-name"><a href="/bookdetail/{{$data->BookID}}.html">{{$data->BookTitle}}</a></h3>
                <a href="/audiodetail/{{$data->BookID}}.html" class="from-audio"><img src="/images/listen.png" alt=""></a>
              </div>
              <div class="read-statu">
                <p class="read-time"><span>阅读时间：</span><span>{{$data->StartTime}}</span></p>
                @if($data->BookReview1!='')
                  <p><span class="read-option-name">读书：</span><span class="need-write">已填写
                  @else
                  <p><span class="read-option-name">读书：</span><span class="need-write">待填写<a href="/bookdetail/{{$data->BookID}}.html"><img src="/images/no-write.png" alt=""></a></span></p>
                  @endif
                @if($data->BookReview2!='')
                  <p><span class="read-option-name">读事：</span><span class="need-write">已填写
                @else
                  <p><span class="read-option-name">读事：</span><span class="need-write">待填写<a href="/bookdetail/{{$data->BookID}}.html"><img src="/images/no-write.png" alt=""></a></span></p>
                @endif
                @if($data->BookReview3!='')
                  <p><span class="read-option-name">读人：</span><span class="need-write">已填写
                @else
                  <p><span class="read-option-name">读人：</span><span class="need-write">待填写<a href="/bookdetail/{{$data->BookID}}.html"><img src="/images/no-write.png" alt=""></a></span></p>
                @endif
                @if($data->BookReview4!='')
                  <p><span class="read-option-name">赠礼物：</span><span class="need-write">已填写
                @else
                  <p><span class="read-option-name">赠礼物：</span><span class="need-write">待填写<a href="/bookdetail/{{$data->BookID}}.html"><img src="/images/no-write.png" alt=""></a></span></p>
                @endif
              </div>
            </div>
          </li>
        @endforeach
      @endif
    </ul>
  </div>
  <!--底部-->
  @include('controller.footer')
</div>
</body>
</html>